<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
//如果不是写api , 是web项目,在这里写路由信息
Route::get('/', "Admin\LoginController@index");

//路由分层 引入分层路由文件,   base_path获取路径到项目的根目录文件夹
include base_path("routes/admin/adminRoutes.php");
